home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / libbonobo-2.0 / bonobo / bonobo-foreign-object.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-01-09  |  1.5 KB  |  47 lines

  1. /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
  2. #ifndef _BONOBO_FOREIGN_OBJECT_H_
  3. #define _BONOBO_FOREIGN_OBJECT_H_
  4.  
  5. #include <bonobo/bonobo-object.h>
  6.  
  7. G_BEGIN_DECLS
  8.  
  9. #define BONOBO_TYPE_FOREIGN_OBJECT         (bonobo_foreign_object_get_type ())
  10.  
  11. #define BONOBO_FOREIGN_OBJECT(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o),\
  12.                                             BONOBO_TYPE_FOREIGN_OBJECT,\
  13.                                             BonoboForeignObject))
  14.  
  15. #define BONOBO_FOREIGN_OBJECT_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k),\
  16.                                             BONOBO_TYPE_FOREIGN_OBJECT,\
  17.                                             BonoboForeignObjectClass))
  18.  
  19. #define BONOBO_IS_FOREIGN_OBJECT(o)           (G_TYPE_CHECK_INSTANCE_TYPE ((o),\
  20.                                             BONOBO_TYPE_FOREIGN_OBJECT))
  21.  
  22. #define BONOBO_IS_FOREIGN_OBJECT_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k),\
  23.                                             BONOBO_TYPE_FOREIGN_OBJECT))
  24.  
  25. #define BONOBO_FOREIGN_OBJECT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o),\
  26.                         BONOBO_TYPE_FOREIGN_OBJECT,\
  27.                                             BonoboForeignObjectClass))
  28.  
  29.  
  30. typedef struct _BonoboForeignObject BonoboForeignObject;
  31.  
  32.  
  33. struct _BonoboForeignObject {
  34.     BonoboObject base;
  35. };
  36.  
  37. typedef struct {
  38.     BonoboObjectClass parent_class;
  39. } BonoboForeignObjectClass;
  40.  
  41. GType         bonobo_foreign_object_get_type (void) G_GNUC_CONST;
  42. BonoboObject* bonobo_foreign_object_new      (CORBA_Object corba_objref);
  43.  
  44. G_END_DECLS
  45.  
  46. #endif
  47.